Skip to content

Blocks: add new methods to new package - #17126

Merged
jeherve merged 11 commits into
masterfrom
update/blocks-package-new-methods
Sep 17, 2020
Merged

jeherve merged 11 commits into
masterfrom
update/blocks-package-new-methods

Conversation

@jeherve

@jeherve jeherve commented Sep 10, 2020 •

Copy link
Copy Markdown
Member

Changes proposed in this Pull Request:

  • This PR starts adding methods to the new Blocks package we'll use for all Jetpack blocks from now on.

This just adds the method, we'll then start using them in blocks in #17101.

Jetpack product discussion

Does this pull request change what data or activity we track or use?

  • N/A

Testing instructions:

  • Not much to test yet, those methods aren't in use just yet.
  • Do the tests pass?

Proposed changelog entry for your changes:

  • N/A

@jeherve jeherve added Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Status] Needs Review This PR is ready for review. [Pri] Normal AMP [Package] Blocks labels Sep 10, 2020
@jeherve jeherve added this to the 9.0 milestone Sep 10, 2020
@jeherve jeherve self-assigned this Sep 10, 2020
@github-actions github-actions Bot added the [Status] Needs Package Release This PR made changes to a package. Let's update that package now. label Sep 10, 2020
@jeherve jeherve added [Status] In Progress and removed [Status] Needs Review This PR is ready for review. labels Sep 10, 2020
@jetpackbot

jetpackbot commented Sep 10, 2020 •

Copy link
Copy Markdown
Collaborator

Scheduled Jetpack release: October 6, 2020.
Scheduled code freeze: September 29, 2020

E2E results is available here (for debugging purposes): https://jetpack-e2e-dashboard.herokuapp.com/pr-17126

Thank you for the great PR description!

When this PR is ready for review, please apply the [Status] Needs Review label. If you are an a11n, please have someone from your team review the code if possible. The Jetpack team will also review this PR and merge it to be included in the next Jetpack release.

Generated by 🚫 dangerJS against d56a0a9

@jeherve jeherve added [Status] Needs Review This PR is ready for review. and removed [Status] In Progress labels Sep 10, 2020
Comment thread packages/blocks/src/class-blocks.php Resolved
Comment thread packages/blocks/src/class-blocks.php Resolved
Comment thread packages/blocks/src/class-blocks.php Resolved
Comment thread packages/blocks/src/class-blocks.php Resolved
anomiex
anomiex previously approved these changes Sep 15, 2020

@anomiex anomiex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me. I'm guessing the failing Travis test is the test somehow being flaky/broken since nothing seems to actually call the code being added here yet.

@jeherve

jeherve commented Sep 15, 2020

Copy link
Copy Markdown
Member Author

I'm guessing the failing Travis test is the test somehow being flaky/broken since nothing seems to actually call the code being added here yet.

Yes, that e2e test can sometimes be a bit fragile.

anomiex
anomiex previously approved these changes Sep 15, 2020
@jeherve jeherve added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Sep 16, 2020
jeherve pushed a commit that referenced this pull request Sep 16, 2020
@jeherve

jeherve commented Sep 16, 2020 •

Copy link
Copy Markdown
Member Author

I had to rebase again; there were some Travis issues with the last build apparently. @anomiex Do you think you could review it one last time? Thanks!

@jeherve jeherve added [Status] Needs Review This PR is ready for review. and removed [Status] Ready to Merge Go ahead, you can push that green button! labels Sep 16, 2020
anomiex
anomiex previously approved these changes Sep 16, 2020

@anomiex anomiex left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no changes other than the rebase, so re-approving. Travis still seems to be unhappy with that E2E test though.

@jeherve jeherve added [Status] Ready to Merge Go ahead, you can push that green button! [Status] Blocked / Hold and removed [Status] Needs Review This PR is ready for review. [Status] Ready to Merge Go ahead, you can push that green button! labels Sep 16, 2020
@jeherve

jeherve commented Sep 16, 2020

Copy link
Copy Markdown
Member Author

On hold for now, pending changes to our e2e tests to take our new Plans into account (the new Plans screen is causing the e2e test to fail).

@jeherve
jeherve force-pushed the update/blocks-package-new-methods branch from f09531a to d56a0a9 Compare September 17, 2020 16:31
@jeherve jeherve added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Blocked / Hold labels Sep 17, 2020
@jeherve
jeherve merged commit 508e933 into master Sep 17, 2020
@jeherve
jeherve deleted the update/blocks-package-new-methods branch September 17, 2020 17:37
@matticbot matticbot added [Status] Needs Changelog and removed [Status] Ready to Merge Go ahead, you can push that green button! labels Sep 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AMP Enhancement Changes to an existing feature — removing, adding, or changing parts of it [Package] Blocks [Pri] Normal [Status] Needs Package Release This PR made changes to a package. Let's update that package now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants